package com.jakewharton.rxbinding4.component;

import com.google.auto.value.AutoValue;

import ohos.agp.components.Picker;

@AutoValue
public abstract class PickerValueChangedEvent {
    public static PickerValueChangedEvent create(Picker picker, int oldVal, int newVal) {
        return new AutoValue_PickerValueChangedEvent(picker, oldVal, newVal);
    }

    PickerValueChangedEvent() {}

    public abstract Picker picker();

    public abstract int oldVal();

    public abstract int newVal();
}
